package com.guguskins.back.mapper;

import com.guguskins.back.entity.GuInviteLevel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-06-01
 */
public interface GuInviteLevelMapper extends BaseMapper<GuInviteLevel> {
   List<GuInviteLevel> findByPage(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize,@Param("name") String name);
   Long findByCount();
   Integer findByMax();
   BigDecimal findByValue(Integer count);

}
